Optimal. Leaf size=280 \[ \frac {2\ 3^{3/4} \sqrt {2+\sqrt {3}} a^2 F\left (\text {ArcSin}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}{\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}\right )|-7-4 \sqrt {3}\right ) \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right ) \sqrt {\frac {e^{2/3}+\sqrt [3]{e} \sqrt [3]{e \sec (c+d x)}+(e \sec (c+d x))^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}} \tan (c+d x)}{d (a-a \sec (c+d x)) \sqrt {a+a \sec (c+d x)} \sqrt {\frac {\sqrt [3]{e} \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.22, antiderivative size = 280, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {3891, 65, 224}
\begin {gather*} \frac {2\ 3^{3/4} \sqrt {2+\sqrt {3}} a^2 \tan (c+d x) \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right ) \sqrt {\frac {\sqrt [3]{e} \sqrt [3]{e \sec (c+d x)}+(e \sec (c+d x))^{2/3}+e^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}} F\left (\text {ArcSin}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}{\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}\right )|-7-4 \sqrt {3}\right )}{d (a-a \sec (c+d x)) \sqrt {a \sec (c+d x)+a} \sqrt {\frac {\sqrt [3]{e} \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 224
Rule 3891
Rubi steps
\begin {align*} \int \sqrt [3]{e \sec (c+d x)} \sqrt {a+a \sec (c+d x)} \, dx &=-\frac {\left (a^2 e \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{(e x)^{2/3} \sqrt {a-a x}} \, dx,x,\sec (c+d x)\right )}{d \sqrt {a-a \sec (c+d x)} \sqrt {a+a \sec (c+d x)}}\\ &=-\frac {\left (3 a^2 \tan (c+d x)\right ) \text {Subst}\left (\int \frac {1}{\sqrt {a-\frac {a x^3}{e}}} \, dx,x,\sqrt [3]{e \sec (c+d x)}\right )}{d \sqrt {a-a \sec (c+d x)} \sqrt {a+a \sec (c+d x)}}\\ &=\frac {2\ 3^{3/4} \sqrt {2+\sqrt {3}} a^2 F\left (\sin ^{-1}\left (\frac {\left (1-\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}{\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}}\right )|-7-4 \sqrt {3}\right ) \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right ) \sqrt {\frac {e^{2/3}+\sqrt [3]{e} \sqrt [3]{e \sec (c+d x)}+(e \sec (c+d x))^{2/3}}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}} \tan (c+d x)}{d (a-a \sec (c+d x)) \sqrt {a+a \sec (c+d x)} \sqrt {\frac {\sqrt [3]{e} \left (\sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )}{\left (\left (1+\sqrt {3}\right ) \sqrt [3]{e}-\sqrt [3]{e \sec (c+d x)}\right )^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 0.15, size = 71, normalized size = 0.25 \begin {gather*} \frac {2 \, _2F_1\left (\frac {1}{2},\frac {2}{3};\frac {3}{2};1-\sec (c+d x)\right ) \sqrt [3]{e \sec (c+d x)} \sqrt {a (1+\sec (c+d x))} \tan \left (\frac {1}{2} (c+d x)\right )}{d \sqrt [3]{\sec (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.09, size = 0, normalized size = 0.00 \[\int \left (e \sec \left (d x +c \right )\right )^{\frac {1}{3}} \sqrt {a +a \sec \left (d x +c \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {a \left (\sec {\left (c + d x \right )} + 1\right )} \sqrt [3]{e \sec {\left (c + d x \right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \sqrt {a+\frac {a}{\cos \left (c+d\,x\right )}}\,{\left (\frac {e}{\cos \left (c+d\,x\right )}\right )}^{1/3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________